{% extends "base.html" %}
{% load djblets_deco %}
{% load i18n %}

{% block title %}{% trans "Recover Password" %}{% endblock %}

{% block content %}
{% box "passwordreset" %}
 <form method="post" action=".">

  {# This should really use {% csrf_token %}, but we can't until we #}
  {# move to Django 1.2 in a future release.                        #}
  {% if csrf_token %}
  {%  ifnotequal csrf_token "NOTPROVIDED" %}
  <div style="display: none;"><input type="hidden" name="csrfmiddlewaretoken" value="{{csrf_token}}" /></div>
  {%  endifnotequal %}

  {% endif %}
  <h1 class="title">{% trans "Recover Password" %}</h1>
  <div class="main">
   <p>{% blocktrans %}Forgotten your password? Enter your e-mail address, and
   we'll send you instructions for creating a new one.{% endblocktrans %}</p>
   <table>
    <tr>
     <td class="label"><label for="id_email">{% trans "E-mail address" %}</label></td>
     <td class="field"><input type="text" name="email" id="id_email" /></td>
     <td class="field"><input type="submit" value="{% trans "Recover" %}" /></td>
    </tr>
   </table>
  </div>
 </form>
{% endbox %}
{% endblock %}
